package com.mark.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * Created by Mark on 2018/3/27.
 * 结合了产品和购物车
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class CartProductVo {
    private Integer id;                   //ID
    private Integer userId;               //用户ID
    private Integer productId;            //商品ID
    private Integer quantity;             //购物车中商品的数量
    private Integer productStatus;        //商品的状态
    private Integer productStock;         //商品的库存量
    private Integer productChecked;       //商品是否勾选（0：未勾选;1:勾选）
    private String productName;           //商品名称
    private String productSubtitle;       //商品子标题
    private String productMainImage;      //主图的相对地址
    private String limitQuantity;         //限制数量
    private BigDecimal productPrice;      //价格
    private BigDecimal productTotalPrice; //总价格（单价*数量）

}
